package com.yyz.zjjcms.service;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.yyz.zjjcms.model.User;
@Component
@Transactional(readOnly=true)
public interface CommonService {
	
	User login(String loginname, String password);

}
